<div class="row">
  <div class="span3 bs-docs-sidebar ">
 	<*include file="<*$controller*>/location.tpl"*>
  </div>
  <div class="span5"> 
        <table class="table table-bordered table-hover" style="cursor:pointer; margin-top:15px; margin-left:20px;" >
            <tr><th>机构名</th><th>&nbsp;</th></tr>
            <*foreach from=$result item=item key=key*>
            <tr onclick="chooseit(<*$item.groupid*>)"><td><*$item.groupname*></td><td><*if $item.is_article_self*><span class="">自动发布</span><*else*><span class="btn btn-danger">代审核</span><*/if*></td></tr>
            <*/foreach*>
        </table>
  </div>
</div>
</div>



<script type="text/javascript">

function chooseit(adid)
{
   window.location='/<*$controller*>/check/groupid/'+adid;
}

function deleteit(adid)
{
  if(confirm("删除将不能恢复")){
   window.location='/<*$controller*>/delete/vid/'+adid;
  }
}

</script> 
